/* 去除canvas默认点击白线问题 */
canvas {
    /* CSS样式 */
    outline: none;
}

.mars3d-container {
    height: 100%;
    overflow: hidden;
}

/**cesium 工具按钮栏*/
.cesium-viewer-toolbar {
    display: flex;
    flex-direction: column;
    justify-content: right;
    align-items: end;
    top: auto !important;
    bottom: 30px !important;
    right: 12px !important;
    width: 140px;
    left: auto !important;
}

.cesium-toolbar-button img {
    height: 100%;
}

.cesium-viewer-toolbar > .cesium-toolbar-button,
.cesium-navigationHelpButton-wrapper,
.cesium-viewer-geocoderContainer {
    margin-bottom: 5px;
    float: right;
    clear: both;
    text-align: center;
}

.cesium-button {
    background-color: #3f4854;
    color: #e6e6e6;
    fill: #e6e6e6;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 32px;
}

/**cesium 底图切换面板*/
.cesium-baseLayerPicker-dropDown {
    bottom: 0;
    right: 40px;
    max-height: 700px;
    margin-bottom: 5px;
}

/**cesium 帮助面板*/
.cesium-navigation-help {
    top: auto;
    bottom: 0;
    right: 40px;
    transform-origin: left bottom;
}

// /**cesium 二维三维切换*/
.cesium-sceneModePicker-wrapper {
    width: 140px;
}

.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {
    float: left;
    margin: 0 10px;
}

/**cesium POI查询输入框*/
.cesium-viewer-geocoderContainer .search-results {
    left: 0;
    right: 40px;
    width: auto;
    z-index: 9999;
}

.cesium-geocoder-searchButton {
    background-color: #3f4854;
}

.cesium-viewer-geocoderContainer .cesium-geocoder-input {
    background-color: rgba(63, 72, 84, 0.7);
}

.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus {
    background-color: rgba(63, 72, 84, 0.9);
}

.cesium-viewer-geocoderContainer .search-results {
    background-color: #3f4854;
}

/**cesium info信息框*/
.cesium-infoBox {
    top: 50px;
    background: rgba(63, 72, 84, 0.9);
}

.cesium-infoBox-title {
    background-color: #3f4854;
}

/**cesium 任务栏的FPS信息*/
.cesium-performanceDisplay-defaultContainer {
    top: auto;
    bottom: 35px;
    right: 50px;
}

.cesium-performanceDisplay-ms,
.cesium-performanceDisplay-fps {
    color: #fff;
}

/**cesium tileset调试信息面板*/
.cesium-viewer-cesiumInspectorContainer {
    top: 10px;
    left: 10px;
    right: auto;
    background-color: #3f4854;
}

/* 操作按钮颜色 */
.cesium-button {
    background: linear-gradient(
        to bottom,
        #0c5460,
        /* 暗绿色的起始颜色 */ #044956,
        /* 暗绿色的中间颜色 */ #022a31 /* 暗绿色的结束颜色 */
    );
    border: 1px solid #022a31;
    /* 与起始颜色匹配的边框颜色 */
    font-size: 10px;
}

.cesium-button:hover {
    background: linear-gradient(to bottom, rgb(76, 156, 229), rgb(35, 100, 160), rgb(12, 37, 105));
    border: 1px solid rgb(76, 156, 229);
    fill: white;
}

.mars3d-popup-close-button {
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    width: 20px;
    height: 20px;
    font:
        16px/14px Tahoma,
        Verdana,
        sans-serif;
    text-decoration: none;
    font-weight: bold;
    background: transparent;
    z-index: 20170825;
    cursor: pointer;
}

